home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / XRC.AML < prev    next >
Text File  |  1996-07-17  |  2KB  |  44 lines

  1. //--------------------------------------------------------------------
  2. // XRC.AML
  3. // Syntax highlighting for Windows Resource files (Rc)
  4. //
  5. // After making changes, save this file and compile with <shift f10>.
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. syntax
  11.   'bcfn'                          // options:
  12.                                   //   b=show through marked block
  13.                                   //   c=highlight cursor line
  14.                                   //   d=show through closed folds
  15.                                   //   f=use only foreground colors
  16.                                   //   i=ignore keyword case
  17.                                   //   n=highlight numbers
  18.   '{}[]().=+-*/:;<>|&,~!^?\t'     // symbol set 1
  19.   ''                              // symbol set 2
  20.   '\'"'                           // string characters
  21.   '\\'                            // string literal char
  22.   ''                              // numeric symbol
  23.   '//'          0                 // eol comment 1 / start column
  24.   ''            0                 // eol comment 2 / start column
  25.   '/*'          '*/'              // multi-line comment 1
  26.   ''            ''                // multi-line comment 2
  27.   10                              // number of lines to scan backward
  28.  
  29.   // colors
  30.   color brightcyan   on black     // keyword
  31.   color gray         on cyan      // symbol set 1
  32.   color gray         on cyan      // symbol set 2
  33.   color brightred    on black     // string
  34.   color brightred    on black     // numeric
  35.   color brightgreen  on black     // eol comment 1
  36.   color brightgreen  on black     // eol comment 2
  37.   color brightgreen  on black     // comment 1
  38.   color brightgreen  on black     // comment 2
  39.  
  40. keyword
  41.   #define, #else, #endif, #error, #if, #ifdef, #ifndef, #include, #line,
  42.   #pragma, #undef, ACCELTABLE, BEGIN, BITMAP, END, ICON, MENU, MENUITEM,
  43.   SEPARATOR, SUBMENU
  44.